<template>
	 <OfdView
      :showOpenFileButton="showOpenFileButton"
      :ofdLink="ofdLink"
    ></OfdView>
</template>

<script setup>
import {defineProps} from  'vue'
import { OfdView} from 'bestofdview'
import 'bestofdview/dist/style.css'
const props =  defineProps({
	showOpenFileButton:{
		type:Boolean,
		default:false
	},
	ofdLink:{
		type:String,
		required:true
	}
})
</script>

<style scoped>
.ofd-view-container {
  width: 100%;
  height: 100%;
}
:deep(.ofd-toolbar) {
	display: none !important;
}
:deep(.ofd-Main){
	margin-top: 0 !important;
}
</style>